CREATE TABLE [dbo].[TTESTR_LIEL]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CA_POSI] [dbo].[TD_IN_001] NOT NULL CONSTRAINT [DF__TTESTR_LI__CA_PO__3335971A] DEFAULT ((0)),
[DE_RUTA] [dbo].[TD_VC_200] NULL,
[PO_ANIO] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__PO_AN__3429BB53] DEFAULT ((0)),
[PO_MESE] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__PO_ME__351DDF8C] DEFAULT ((0)),
[PO_DIAS] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__PO_DI__361203C5] DEFAULT ((0)),
[PO_MONE] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__PO_MO__370627FE] DEFAULT ((0)),
[NU_PO01] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__37FA4C37] DEFAULT ((0)),
[NU_PO02] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__38EE7070] DEFAULT ((0)),
[NU_PO03] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__39E294A9] DEFAULT ((0)),
[NU_PO04] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__3AD6B8E2] DEFAULT ((0)),
[NU_PO05] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__3BCADD1B] DEFAULT ((0)),
[NU_PO06] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__3CBF0154] DEFAULT ((0)),
[NU_PO07] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__3DB3258D] DEFAULT ((0)),
[NU_PO08] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__3EA749C6] DEFAULT ((0)),
[NU_PO09] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__3F9B6DFF] DEFAULT ((0)),
[NU_PO10] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__408F9238] DEFAULT ((0)),
[NU_PO11] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__4183B671] DEFAULT ((0)),
[NU_PO12] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__4277DAAA] DEFAULT ((0)),
[NU_PO13] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__436BFEE3] DEFAULT ((0)),
[NU_PO14] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__4460231C] DEFAULT ((0)),
[NU_PO15] [dbo].[TD_IN_001] NULL CONSTRAINT [DF__TTESTR_LI__NU_PO__45544755] DEFAULT ((0)),
[DE_PO01] [dbo].[TD_VC_200] NULL,
[DE_PO02] [dbo].[TD_VC_200] NULL,
[DE_PO03] [dbo].[TD_VC_200] NULL,
[DE_PO04] [dbo].[TD_VC_200] NULL,
[DE_PO05] [dbo].[TD_VC_200] NULL,
[DE_PO06] [dbo].[TD_VC_200] NULL,
[DE_PO07] [dbo].[TD_VC_200] NULL,
[DE_PO08] [dbo].[TD_VC_200] NULL,
[DE_PO09] [dbo].[TD_VC_200] NULL,
[DE_PO10] [dbo].[TD_VC_200] NULL,
[DE_PO11] [dbo].[TD_VC_200] NULL,
[DE_PO12] [dbo].[TD_VC_200] NULL,
[DE_PO13] [dbo].[TD_VC_200] NULL,
[DE_PO14] [dbo].[TD_VC_200] NULL,
[DE_PO15] [dbo].[TD_VC_200] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTESTR_LI__CO_US__46486B8E] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTESTR_LI__FE_US__473C8FC7] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTESTR_LI__CO_US__4830B400] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTESTR_LI__FE_US__4924D839] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTESTR_LIEL] ADD CONSTRAINT [PK__TTESTR_L__17D9AB4758F12BAE] PRIMARY KEY CLUSTERED  ([CO_EMPR]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTESTR_LIEL] TO [public]
GRANT INSERT ON  [dbo].[TTESTR_LIEL] TO [public]
GRANT DELETE ON  [dbo].[TTESTR_LIEL] TO [public]
GRANT UPDATE ON  [dbo].[TTESTR_LIEL] TO [public]
GO
